package com.xuerhua.yxt.service;

import java.util.List;

import com.xuerhua.yxt.model.WorkApprovalConf;
import com.xuerhua.yxt.page.Page;

public interface IWorkApprovalConfService {

	int addAndUpdate(WorkApprovalConf record);

    List<WorkApprovalConf> selectListByPage(Page<WorkApprovalConf> page);
    
    WorkApprovalConf selectByItemCode(String itemCode, Integer schoolId);
    
    boolean isWorkApprover(String itemCode, Integer teacherId, Integer schoolId);
}
